
#include <array>
#include <cassert>
#include <iostream>
using namespace std;

int main() {

  array<int, 2> a{1, 2};
  cout << a[0] << a[1] << endl;
  a = {3, 4};
  cout << a[0] << a[1] << endl;
  int b[5]{0, 1, 2, 3, 4};
  int *c = &b[3];
  cout << c[-2] << endl;

  array<double, 2> *ptr = new array<double, 2>[10];
  cout << ptr->size() << endl;
  // cout <<
  return 0;
}